<?php


namespace App\Annotation;

use Hyperf\Di\Annotation\AbstractAnnotation;

/**
 * @Annotation
 * @Target("METHOD")
 */
class EsUp extends AbstractAnnotation
{
    /**
     * 方法
     * @var string
     */
    public $action;

    /**
     * 要更新的类型
     * @var integer
     */
    public $type;


    public function __construct($value = null)
    {
        parent::__construct($value);
        $this->bindMainProperty('action', $value);
    }

}